package cn.zjq.three;

public class Employee {
    private String name;
    private int age;
    private int salary;
    private int jobNum;

    public Employee() {
    }

    public Employee(int jobNum, String name, int age, int salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
        this.jobNum = jobNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public int getJobNum() {
        return jobNum;
    }

    public void setJobNum(int jobNum) {
        this.jobNum = jobNum;
    }
    public void work(){
        System.out.println(this.getName()+"正在工作。。。。");
        
    }
}
